#pragma once

#include "winos.h"

_SSL_BEGIN
_SSWINOSL_BEGIN

typedef BOOL (WINAPI *PFNInitializeCriticalSectionEx)(
	__out LPCRITICAL_SECTION lpCriticalSection,
	__in  DWORD dwSpinCount,
	__in  DWORD Flags
	);

typedef ULONGLONG (WINAPI *PFNGetTickCount64)(VOID);


class SSWINOS_CLASS win_function_wrapper
{
public:
	win_function_wrapper();
	virtual ~win_function_wrapper();

public:
	PFNInitializeCriticalSectionEx InitializeCriticalSectionEx;
	PFNGetTickCount64 GetTickCount64;

protected:
	void init();
	void uninit();
};


_SSWINOSL_END
_SSL_END
